\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service}{
\section{PD.WorkflowLibrary.InvoiceProcessingService Class Reference}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service}\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
}


A local service that handles invoice processing.  


Inheritance diagram for PD.WorkflowLibrary.InvoiceProcessingService:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_p_d_1_1_workflow_library_1_1_invoice_processing_service}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_aca646855658c34bbfef162cbb37389ea}{RaiseInvoiceCorrected} (int taskId, Guid instanceId)
\begin{DoxyCompactList}\small\item\em Raises the invoice corrected event. \item\end{DoxyCompactList}\item 
void \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a09ada7dfe93a9bf5a5a98739f9e14e4e}{RaiseInvoiceConfirmed} (int taskId, Guid instanceId)
\begin{DoxyCompactList}\small\item\em Raises the invoice confirmed event. \item\end{DoxyCompactList}\item 
void \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_ad919845515671a5a42a0b669d36603d9}{RaiseInvoiceApprovedByChiefAccountant} (int taskId, Guid instanceId)
\begin{DoxyCompactList}\small\item\em Raises the invoice approved by chief accountant event. \item\end{DoxyCompactList}\item 
void \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a9fc14e4c0194cebde5532ddf05aa2f1e}{RaiseInvoiceApprovedByCEO} (int taskId, Guid instanceId)
\begin{DoxyCompactList}\small\item\em Raises the invoice approved by CEO event. \item\end{DoxyCompactList}\item 
void \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a3b3b656a36bc239ddd243335647326d6}{RaiseInvoiceFinallyApproved} (int taskId, Guid instanceId)
\begin{DoxyCompactList}\small\item\em Raises the invoice finally approved. \item\end{DoxyCompactList}\item 
void \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_adf3e41accb44a8bc5c32ca23587f7195}{RaiseInvoiceArchived} (int taskId, Guid instanceId)
\begin{DoxyCompactList}\small\item\em Raises the invoice archived. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Events}
\begin{DoxyCompactItemize}
\item 
EventHandler$<$ \hyperlink{class_p_d_1_1_workflow_library_1_1_external_data_1_1_task_updated_event_args}{TaskUpdatedEventArgs} $>$ \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a0c72be15aee21978895cf3ed712f8426}{InvoiceCorrected}
\begin{DoxyCompactList}\small\item\em Occurs when the invoice has been corrected. \item\end{DoxyCompactList}\item 
EventHandler$<$ \hyperlink{class_p_d_1_1_workflow_library_1_1_external_data_1_1_task_updated_event_args}{TaskUpdatedEventArgs} $>$ \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a4f1c209c6b7b8f9ce1e413ff2b302788}{InvoiceConfirmed}
\begin{DoxyCompactList}\small\item\em Occurs when the invoice has been confirmed. \item\end{DoxyCompactList}\item 
EventHandler$<$ \hyperlink{class_p_d_1_1_workflow_library_1_1_external_data_1_1_task_updated_event_args}{TaskUpdatedEventArgs} $>$ \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a6dab6fc66782cca4b988164585e73882}{InvoiceApprovedByChiefAccountant}
\begin{DoxyCompactList}\small\item\em Occurs when the invoice has been approved by chief accountant. \item\end{DoxyCompactList}\item 
EventHandler$<$ \hyperlink{class_p_d_1_1_workflow_library_1_1_external_data_1_1_task_updated_event_args}{TaskUpdatedEventArgs} $>$ \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a1aa9c2766abfe98d512d4e7bb563969b}{InvoiceApprovedByCEO}
\begin{DoxyCompactList}\small\item\em Occurs when the invoice has been approved by CEO. \item\end{DoxyCompactList}\item 
EventHandler$<$ \hyperlink{class_p_d_1_1_workflow_library_1_1_external_data_1_1_task_updated_event_args}{TaskUpdatedEventArgs} $>$ \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_ac3cb963c20fe2bbdcb97d406413c0c72}{InvoiceFinallyApproved}
\begin{DoxyCompactList}\small\item\em Occurs when the invoice has been finally approved. \item\end{DoxyCompactList}\item 
EventHandler$<$ \hyperlink{class_p_d_1_1_workflow_library_1_1_external_data_1_1_task_updated_event_args}{TaskUpdatedEventArgs} $>$ \hyperlink{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_aa98d49242081950ad0538a87c46812de}{InvoiceArchived}
\begin{DoxyCompactList}\small\item\em Occurs when the invoice has been archived. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A local service that handles invoice processing. 

\subsection{Member Function Documentation}
\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a9fc14e4c0194cebde5532ddf05aa2f1e}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!RaiseInvoiceApprovedByCEO@{RaiseInvoiceApprovedByCEO}}
\index{RaiseInvoiceApprovedByCEO@{RaiseInvoiceApprovedByCEO}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{RaiseInvoiceApprovedByCEO}]{\setlength{\rightskip}{0pt plus 5cm}void PD.WorkflowLibrary.InvoiceProcessingService.RaiseInvoiceApprovedByCEO (
\begin{DoxyParamCaption}
\item[{int}]{taskId, }
\item[{Guid}]{instanceId}
\end{DoxyParamCaption}
)}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a9fc14e4c0194cebde5532ddf05aa2f1e}


Raises the invoice approved by CEO event. 


\begin{DoxyParams}{Parameters}
{\em taskId} & The identifier of updated task.\\
\hline
{\em instanceId} & The workflow instance identifier for the workflow instance that contains the System.Workflow.Activities.HandleExternalEventActivity that is expected to handle the event.\\
\hline
\end{DoxyParams}
\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_ad919845515671a5a42a0b669d36603d9}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!RaiseInvoiceApprovedByChiefAccountant@{RaiseInvoiceApprovedByChiefAccountant}}
\index{RaiseInvoiceApprovedByChiefAccountant@{RaiseInvoiceApprovedByChiefAccountant}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{RaiseInvoiceApprovedByChiefAccountant}]{\setlength{\rightskip}{0pt plus 5cm}void PD.WorkflowLibrary.InvoiceProcessingService.RaiseInvoiceApprovedByChiefAccountant (
\begin{DoxyParamCaption}
\item[{int}]{taskId, }
\item[{Guid}]{instanceId}
\end{DoxyParamCaption}
)}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_ad919845515671a5a42a0b669d36603d9}


Raises the invoice approved by chief accountant event. 


\begin{DoxyParams}{Parameters}
{\em taskId} & The identifier of updated task.\\
\hline
{\em instanceId} & The workflow instance identifier for the workflow instance that contains the System.Workflow.Activities.HandleExternalEventActivity that is expected to handle the event.\\
\hline
\end{DoxyParams}
\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_adf3e41accb44a8bc5c32ca23587f7195}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!RaiseInvoiceArchived@{RaiseInvoiceArchived}}
\index{RaiseInvoiceArchived@{RaiseInvoiceArchived}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{RaiseInvoiceArchived}]{\setlength{\rightskip}{0pt plus 5cm}void PD.WorkflowLibrary.InvoiceProcessingService.RaiseInvoiceArchived (
\begin{DoxyParamCaption}
\item[{int}]{taskId, }
\item[{Guid}]{instanceId}
\end{DoxyParamCaption}
)}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_adf3e41accb44a8bc5c32ca23587f7195}


Raises the invoice archived. 


\begin{DoxyParams}{Parameters}
{\em taskId} & The identifier of updated task.\\
\hline
{\em instanceId} & The workflow instance identifier for the workflow instance that contains the System.Workflow.Activities.HandleExternalEventActivity that is expected to handle the event.\\
\hline
\end{DoxyParams}
\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a09ada7dfe93a9bf5a5a98739f9e14e4e}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!RaiseInvoiceConfirmed@{RaiseInvoiceConfirmed}}
\index{RaiseInvoiceConfirmed@{RaiseInvoiceConfirmed}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{RaiseInvoiceConfirmed}]{\setlength{\rightskip}{0pt plus 5cm}void PD.WorkflowLibrary.InvoiceProcessingService.RaiseInvoiceConfirmed (
\begin{DoxyParamCaption}
\item[{int}]{taskId, }
\item[{Guid}]{instanceId}
\end{DoxyParamCaption}
)}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a09ada7dfe93a9bf5a5a98739f9e14e4e}


Raises the invoice confirmed event. 


\begin{DoxyParams}{Parameters}
{\em taskId} & The identifier of updated task.\\
\hline
{\em instanceId} & The workflow instance identifier for the workflow instance that contains the System.Workflow.Activities.HandleExternalEventActivity that is expected to handle the event.\\
\hline
\end{DoxyParams}
\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_aca646855658c34bbfef162cbb37389ea}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!RaiseInvoiceCorrected@{RaiseInvoiceCorrected}}
\index{RaiseInvoiceCorrected@{RaiseInvoiceCorrected}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{RaiseInvoiceCorrected}]{\setlength{\rightskip}{0pt plus 5cm}void PD.WorkflowLibrary.InvoiceProcessingService.RaiseInvoiceCorrected (
\begin{DoxyParamCaption}
\item[{int}]{taskId, }
\item[{Guid}]{instanceId}
\end{DoxyParamCaption}
)}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_aca646855658c34bbfef162cbb37389ea}


Raises the invoice corrected event. 


\begin{DoxyParams}{Parameters}
{\em taskId} & The identifier of updated task.\\
\hline
{\em instanceId} & The workflow instance identifier for the workflow instance that contains the System.Workflow.Activities.HandleExternalEventActivity that is expected to handle the event.\\
\hline
\end{DoxyParams}
\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a3b3b656a36bc239ddd243335647326d6}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!RaiseInvoiceFinallyApproved@{RaiseInvoiceFinallyApproved}}
\index{RaiseInvoiceFinallyApproved@{RaiseInvoiceFinallyApproved}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{RaiseInvoiceFinallyApproved}]{\setlength{\rightskip}{0pt plus 5cm}void PD.WorkflowLibrary.InvoiceProcessingService.RaiseInvoiceFinallyApproved (
\begin{DoxyParamCaption}
\item[{int}]{taskId, }
\item[{Guid}]{instanceId}
\end{DoxyParamCaption}
)}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a3b3b656a36bc239ddd243335647326d6}


Raises the invoice finally approved. 


\begin{DoxyParams}{Parameters}
{\em taskId} & The identifier of updated task.\\
\hline
{\em instanceId} & The workflow instance identifier for the workflow instance that contains the System.Workflow.Activities.HandleExternalEventActivity that is expected to handle the event.\\
\hline
\end{DoxyParams}


\subsection{Event Documentation}
\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a1aa9c2766abfe98d512d4e7bb563969b}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!InvoiceApprovedByCEO@{InvoiceApprovedByCEO}}
\index{InvoiceApprovedByCEO@{InvoiceApprovedByCEO}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{InvoiceApprovedByCEO}]{\setlength{\rightskip}{0pt plus 5cm}EventHandler$<${\bf TaskUpdatedEventArgs}$>$ PD.WorkflowLibrary.InvoiceProcessingService.InvoiceApprovedByCEO}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a1aa9c2766abfe98d512d4e7bb563969b}


Occurs when the invoice has been approved by CEO. 



Implements \hyperlink{interface_p_d_1_1_workflow_library_1_1_i_invoice_processing_service_ab4fbf54033e3d378c40481ed97f7b073}{PD.WorkflowLibrary.IInvoiceProcessingService}.

\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a6dab6fc66782cca4b988164585e73882}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!InvoiceApprovedByChiefAccountant@{InvoiceApprovedByChiefAccountant}}
\index{InvoiceApprovedByChiefAccountant@{InvoiceApprovedByChiefAccountant}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{InvoiceApprovedByChiefAccountant}]{\setlength{\rightskip}{0pt plus 5cm}EventHandler$<${\bf TaskUpdatedEventArgs}$>$ PD.WorkflowLibrary.InvoiceProcessingService.InvoiceApprovedByChiefAccountant}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a6dab6fc66782cca4b988164585e73882}


Occurs when the invoice has been approved by chief accountant. 



Implements \hyperlink{interface_p_d_1_1_workflow_library_1_1_i_invoice_processing_service_a38ed2e774d66801d79adba82df2f5dc1}{PD.WorkflowLibrary.IInvoiceProcessingService}.

\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_aa98d49242081950ad0538a87c46812de}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!InvoiceArchived@{InvoiceArchived}}
\index{InvoiceArchived@{InvoiceArchived}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{InvoiceArchived}]{\setlength{\rightskip}{0pt plus 5cm}EventHandler$<${\bf TaskUpdatedEventArgs}$>$ PD.WorkflowLibrary.InvoiceProcessingService.InvoiceArchived}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_aa98d49242081950ad0538a87c46812de}


Occurs when the invoice has been archived. 



Implements \hyperlink{interface_p_d_1_1_workflow_library_1_1_i_invoice_processing_service_af12ff28b30c2a3f301cb4a88b1be8bef}{PD.WorkflowLibrary.IInvoiceProcessingService}.

\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a4f1c209c6b7b8f9ce1e413ff2b302788}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!InvoiceConfirmed@{InvoiceConfirmed}}
\index{InvoiceConfirmed@{InvoiceConfirmed}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{InvoiceConfirmed}]{\setlength{\rightskip}{0pt plus 5cm}EventHandler$<${\bf TaskUpdatedEventArgs}$>$ PD.WorkflowLibrary.InvoiceProcessingService.InvoiceConfirmed}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a4f1c209c6b7b8f9ce1e413ff2b302788}


Occurs when the invoice has been confirmed. 



Implements \hyperlink{interface_p_d_1_1_workflow_library_1_1_i_invoice_processing_service_a7f09e4483b51ab52749b9b32da8267f3}{PD.WorkflowLibrary.IInvoiceProcessingService}.

\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a0c72be15aee21978895cf3ed712f8426}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!InvoiceCorrected@{InvoiceCorrected}}
\index{InvoiceCorrected@{InvoiceCorrected}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{InvoiceCorrected}]{\setlength{\rightskip}{0pt plus 5cm}EventHandler$<${\bf TaskUpdatedEventArgs}$>$ PD.WorkflowLibrary.InvoiceProcessingService.InvoiceCorrected}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_a0c72be15aee21978895cf3ed712f8426}


Occurs when the invoice has been corrected. 



Implements \hyperlink{interface_p_d_1_1_workflow_library_1_1_i_invoice_processing_service_a1234052e517ede7fce6970b64ddec571}{PD.WorkflowLibrary.IInvoiceProcessingService}.

\hypertarget{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_ac3cb963c20fe2bbdcb97d406413c0c72}{
\index{PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}!InvoiceFinallyApproved@{InvoiceFinallyApproved}}
\index{InvoiceFinallyApproved@{InvoiceFinallyApproved}!PD::WorkflowLibrary::InvoiceProcessingService@{PD::WorkflowLibrary::InvoiceProcessingService}}
\subsubsection[{InvoiceFinallyApproved}]{\setlength{\rightskip}{0pt plus 5cm}EventHandler$<${\bf TaskUpdatedEventArgs}$>$ PD.WorkflowLibrary.InvoiceProcessingService.InvoiceFinallyApproved}}
\label{class_p_d_1_1_workflow_library_1_1_invoice_processing_service_ac3cb963c20fe2bbdcb97d406413c0c72}


Occurs when the invoice has been finally approved. 



Implements \hyperlink{interface_p_d_1_1_workflow_library_1_1_i_invoice_processing_service_af2ee1dc69997e4cf9455392755487c0c}{PD.WorkflowLibrary.IInvoiceProcessingService}.



The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
PD.WorkflowLibrary/\hyperlink{_invoice_processing_service_8cs}{InvoiceProcessingService.cs}\end{DoxyCompactItemize}
